package com.spic.system.activiti.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("业务状态关系实体")
public class BusinessStatus implements Serializable {

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("业务ID")
    private String businessKey;
    @ApiModelProperty("主键")

    //业务类型
    private String businessType;
    @ApiModelProperty("流程实例ID")
    private String processInstanceId;
    @ApiModelProperty("流程状态：0已撤回, 1待提交，2处理中,3已完成, 4已作废，5已删除")
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("创建时间")
    private Date createDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("更新时间")
    private Date updateDate;
}
